package gc;

/**
 * -verbose:gc -Xmx20m -Xms20m -Xmn10m -XX:+PrintGCDetails -XX:+UseSerialGC -XX:MaxTenuringThreshold=1
 */
public class ObjectAge {
    static int _1M = 1024 * 1024;
    public static void main(String[] args) {
        byte[] b1 = new byte[_1M / 4];
        byte[] b2 = new byte[4 * _1M];
        byte[] b3 = new byte[4 * _1M];
        b3 = null;
        b3 = new byte[4 * _1M];
    }
}
